﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MemeberMain.Master" AutoEventWireup="true" CodeBehind="HomeMem.aspx.cs" Inherits="outREACH.HomeMem" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <div id="header-wrapper">
     
		<div id="header">
       
			<div id="menu">
            
				<ul>
					<li class="current_page_item"><a id="A1" href="~/HomeMem.aspx" runat="server">HOME</a></li>
					<li><a id="A2" href="~/Education/EducationMem.aspx" runat="server">EDUCATION</a></li>
					<li><a id="A3" href="~/Medical/MedicalMem.aspx" runat="server">MEDICAL</a></li>
					<li><a id="A4" href="~/Infrastructure/InfrastructureMem.aspx" runat="server">INFRA STRUCTURE</a></li>
					<li><a id="A5" href="~/Donation/DonationMem.aspx" runat="server">DONATION</a></li>
					<li><a id="A6" href="~/ContactUs_Mem.aspx" runat="server">CONTACT US</a></li>
				</ul>
               
			</div>
            
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:ImageButton ID="ImageButton1" runat="server" Height="170px" 
                ImageUrl="~/Images/Untitled-2.png" Width="175px" />
		</div>
	</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel4" runat="server" Height="1030px" 
        ForeColor="Black">
        <asp:Label ID="annoucement" runat="server" Font-Bold="True" 
            Font-Italic="True" Font-Size="20pt" Text="Latest Annoucement"></asp:Label>
        <br />
        &nbsp;<br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
        <asp:Button ID="Button7" runat="server" Font-Size="12pt" 
            onclick="Button7_Click" Text="All Updates" Width="109px" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button8" runat="server" Font-Size="12pt" Height="27px" 
            onclick="Button8_Click" Text="Education Updates" Width="158px" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button9" runat="server" Font-Size="12pt" 
            onclick="Button9_Click" Text="Medical Updates" Width="142px" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button10" runat="server" Font-Size="12pt" 
            onclick="Button10_Click" Text="Financial Updates" Width="146px" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:GridView ID="GridView2" runat="server" align="center" 
            AllowPaging="True" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" 
            ShowHeader="False" Width="600px">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label29" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("title") %>'></asp:Label>
                        <asp:Label ID="Label12" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("replyTitle") %>'></asp:Label>
                        <asp:Label ID="Label20" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("section") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label30" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("text") %>'></asp:Label>
                        <asp:Label ID="Label13" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("reply") %>'></asp:Label>
                        <asp:Label ID="Label21" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("name") %>'></asp:Label>
                        <asp:Label ID="Label23" runat="server" Font-Size="14pt" Text=" has donated"></asp:Label>
                        <asp:Label ID="Label53" runat="server" Font-Size="14pt" Text="$"></asp:Label>
                        <asp:Label ID="Label25" runat="server" Font-Size="14pt" ForeColor="Orange" 
                            Text='<%# Eval("amount") %>'></asp:Label>
                        <asp:Label ID="Label24" runat="server" Font-Size="14pt" Text="to"></asp:Label>
                        <asp:Label ID="Label28" runat="server" Font-Size="14pt" ForeColor="Red" 
                            Text='<%# Eval("countryDonated") %>'></asp:Label>
                        <asp:Label ID="Label26" runat="server" Font-Size="14pt" Text="at"></asp:Label>
                        <asp:Label ID="Label27" runat="server" Font-Size="14pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label9" runat="server" Font-Size="12pt" Text="Post By:"></asp:Label>
                        <asp:Label ID="Label31" runat="server" Font-Size="12pt" 
                            Text='<%# Eval("userName") %>'></asp:Label>
                        <asp:Label ID="Label10" runat="server" Font-Size="12pt" Text=", at:"></asp:Label>
                        <asp:Label ID="Label32" runat="server" Font-Size="12pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>'></asp:Label>
                        <asp:Label ID="Label11" runat="server" Font-Size="12pt" Text=" from"></asp:Label>
                        <asp:Label ID="Label33" runat="server" Font-Size="12pt" ForeColor="Red" 
                            Text='<%# Eval("category") %>'></asp:Label>
                        <asp:Label ID="Label14" runat="server" Font-Size="12pt" Text="Reply by: "></asp:Label>
                        <asp:Label ID="Label15" runat="server" Font-Size="12pt" 
                            Text='<%# Eval("replyUser") %>'></asp:Label>
                        <asp:Label ID="Label16" runat="server" Font-Size="12pt" Text=", at:"></asp:Label>
                        <asp:Label ID="Label17" runat="server" Font-Size="12pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>'></asp:Label>
                        &nbsp;<asp:Label ID="Label18" runat="server" Font-Size="12pt" Text="from"></asp:Label>
                        <asp:Label ID="Label19" runat="server" Font-Size="12pt" ForeColor="Red" 
                            Text='<%# Eval("replyCategory") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
            <PagerStyle Wrap="True" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="GetAnnoucement" TypeName="outREACH.App_Code.Annoucement">
        </asp:ObjectDataSource>
        <asp:GridView ID="GridView3" runat="server" align="center" AllowPaging="True" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource2" ShowHeader="False" 
            Visible="False" Width="600px">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label53" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("title") %>'></asp:Label>
                        <asp:Label ID="Label54" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("replyTitle") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label55" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("text") %>'></asp:Label>
                        <asp:Label ID="Label56" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("reply") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label41" runat="server" Font-Size="12pt" Text="Reply By:"></asp:Label>
                        <asp:Label ID="Label42" runat="server" Font-Size="12pt" 
                            Text='<%# Eval("replyUser") %>'></asp:Label>
                        <asp:Label ID="Label43" runat="server" Font-Size="12pt" Text=", at:"></asp:Label>
                        <asp:Label ID="Label44" runat="server" Font-Size="12pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>'></asp:Label>
                        <asp:Label ID="Label45" runat="server" Font-Size="12pt" Text=" from "></asp:Label>
                        <asp:Label ID="Label46" runat="server" Font-Size="12pt" ForeColor="Red" 
                            Text="Education"></asp:Label>
                        <asp:Label ID="Label47" runat="server" Font-Size="12pt" Text="Post By: "></asp:Label>
                        <asp:Label ID="Label48" runat="server" Font-Size="12pt" 
                            Text='<%# Eval("userName") %>'></asp:Label>
                        <asp:Label ID="Label49" runat="server" Font-Size="12pt" Text=", at:"></asp:Label>
                        <asp:Label ID="Label50" runat="server" Font-Size="12pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>'></asp:Label>
                        &nbsp;<asp:Label ID="Label51" runat="server" Font-Size="12pt" Text=" from "></asp:Label>
                        <asp:Label ID="Label52" runat="server" Font-Size="12pt" ForeColor="Red" 
                            Text="Education"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
            SelectMethod="getEduAnnouncement" TypeName="outREACH.App_Code.EduAnnouncement">
        </asp:ObjectDataSource>
        <br />
        <asp:GridView ID="GridView4" runat="server" align="center" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource3" ShowHeader="False" 
            Visible="False" Width="600px" AllowPaging="True">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label70" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("title") %>'></asp:Label>
                        <asp:Label ID="Label71" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("replyTitle") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label72" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("text") %>'></asp:Label>
                        <asp:Label ID="Label57" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("reply") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label58" runat="server" Text="Reply By:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label59" runat="server" Text='<%# Eval("replyUser") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label60" runat="server" Text=", at:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label61" runat="server" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label62" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label63" runat="server" ForeColor="Red" Text="Medical" 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label64" runat="server" Text="Post By: " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label65" runat="server" Text='<%# Eval("userName") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label66" runat="server" Text=", at:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label67" runat="server" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>' Font-Size="12pt"></asp:Label>
                        &nbsp;<asp:Label ID="Label68" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label69" runat="server" ForeColor="Red" Text="Medical" 
                            Font-Size="12pt"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" 
            OldValuesParameterFormatString="original_{0}" SelectMethod="getMedAnnouncement" 
            TypeName="outREACH.App_Code.MedicalAnnoucement"></asp:ObjectDataSource>
        <asp:GridView ID="GridView5" runat="server" align="center" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource4" ShowHeader="False" 
            Visible="False" Width="600px" AllowPaging="True">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label83" runat="server" Font-Bold="True" Font-Size="16pt">Donation</asp:Label>
                        <br />
                        <asp:Label ID="Label75" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("name") %>'></asp:Label>
                        <asp:Label ID="Label76" runat="server" Font-Size="14pt" 
                            Text=" has just donated"></asp:Label>
                        <asp:Label ID="Label77" runat="server" Text="$" Font-Size="14pt"></asp:Label>
                        <asp:Label ID="Label78" runat="server" Font-Size="14pt" ForeColor="Orange" 
                            Text='<%# Eval("amount") %>'></asp:Label>
                        <asp:Label ID="Label79" runat="server" Font-Size="14pt" Text="to"></asp:Label>
                        <asp:Label ID="Label80" runat="server" Font-Size="14pt" ForeColor="Red" 
                            Text='<%# Eval("countryDonated") %>'></asp:Label>
                        <asp:Label ID="Label81" runat="server" Font-Size="14pt" Text="at"></asp:Label>
                        <asp:Label ID="Label82" runat="server" Font-Size="14pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTimeDonated") %>'></asp:Label>
                        <br />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource4" runat="server" 
            OldValuesParameterFormatString="original_{0}" SelectMethod="getFinAnnouncement" 
            TypeName="outREACH.App_Code.FinancialAnnoucement"></asp:ObjectDataSource>
        <br />
    </asp:Panel>
</asp:Content>

